#include <stdio.h>

int main()
{
	char arr1[20] = { 0 };
	char arr2[] = "hello bit";
	strcpy(arr1, arr2);//拷贝内容 包括\n
	printf("%s", arr1);
	return 0;
}

int main()
{
	char arr[] = "hello bit";
	memset(arr, 'x', 5);//设置内存块
	printf("%s", arr);
	  return 0;
  }